#ifndef _MESSAGE_H_
#define _MESSAGE_H_
/*************************************************************************************/
#define ANOS_DATA_LENGTH 100

typedef struct{
	uint8_t src[2];
	uint8_t dest[2];
	uint8_t len[2];
	uint8_t seq;
	uint8_t type;
	uint8_t hop;
}msg_header_t;

typedef struct{
}msg_footer_t;

typedef struct{
	uint8_t rssi;
}msg_metadata_t;

typedef struct{
	uint8_t header[sizeof(msg_header_t)];
	uint8_t payload[ANOS_DATA_LENGTH-sizeof(msg_header_t)];
	uint8_t footer[sizeof(msg_footer_t)];
	uint8_t metadata[sizeof(msg_metadata_t)];
}message_t;

/*************************************************************************************/
#endif


